import request from "@/utils/request";

const baseURL = "/official-website/app";

export const listBindApp = () =>
  request<Res<WebApp[]>>({
    url: `${baseURL}/list-bind-app`,
    method: "POST",
  });

export const getListByAppCategoryId = (appCategoryId: number) =>
  request<Res<WebApp[]>>({
    url: `${baseURL}/get-list-by-app-category-id`,
    method: "GET",
    params: { appCategoryId },
  });
